package com.ctshk.rpc.system.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


/**
 * @author Lenovo
 */

@Data
@ApiModel(value = "AreaTreeDTO对象", description = "国家区域树属性")
public class AreaTreeListDTO implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "上一级id")
    private Long parentId;

    @ApiModelProperty(value = "上一级编码")
    private String parentCode;

    @ApiModelProperty(value = "上一级名称")
    private String parentName;
}
